/**
 * This object defines the north east and south west 
 * boundaries of the current map view.
 * 
 * @author Kim Pommert
 * @version %I%, %G%
 */
qx.Class.define("qooxdoosample.cocktail.util.Boundaries",
{
	extend: qx.core.Object,
	
	/**
	 * Class constructor.
	 * Instantiates an object of that class.
	 * 
	 * @param southWest	{qooxdoosample.cocktail.util.LatLng} 
	 * 						The geographic location of the south west corner of the map
	 * @param northEast	{qooxdoosample.cocktail.util.LatLng}
	 * 						The geographic location of the north east corner of the map
	 */
	construct: function(southWest, northEast)
	{
		this.setSouthWest(southWest);
		this.setNorthEast(northEast);	
	},
	
	properties :
	{
		/**
		 * The geographic location of the south west corner of the map
		 */
    	southWest:
    	{
      		nullable: true,
      		init: null,
      		check: "qooxdoosample.cocktail.util.LatLng"
      	},
      	
      	/**
      	 * The geographic location of the north east corner of the map
      	 */
    	northEast:
    	{
      		nullable: true,
      		init: null,
      		check: "qooxdoosample.cocktail.util.LatLng"
      	}
	}
	
});